package org.jeecg.entity.car;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.system.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 车场车型表
 * @Author: liurui
 * @Date:   2020-09-30
 * @Version: V1.0
 */
@Data
@TableName("car_model")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="car_model对象", description="车场车型表")
public class CarModel extends BaseEntity {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**车型名*/
	@Excel(name = "车型名", width = 15)
    @ApiModelProperty(value = "车类名")
	private String name;
	/**tenantId*/
    @ApiModelProperty(value = "tenantId")
	private String tenantId;
	/**项目*/
	@Excel(name = "项目", width = 15)
    @ApiModelProperty(value = "项目")
	private String projectId;

	/**车场*/
    @ApiModelProperty(value = "车场")
	private String parkId;

	@Excel(name = "车场", width = 15)
	@TableField(exist = false)
	private String parkName;
	/**外部车型*/
	@Excel(name = "外部车型", width = 15)
    @ApiModelProperty(value = "外部车型")
	private String modelId;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	private String delFlag;
}
